package com.cloud.pole.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import com.cloud.pole.api.user.BaseUserApi;
import com.cloud.pole.common.constant.ApiConstant;
import com.cloud.pole.common.msg.ApiRestResponse;

/*
*2019年2月21日
*cloud-shop
*author:frank-chen
*/
@FeignClient(value = ApiConstant.TOOL_SERVICE_ID)
public interface IToolService {
	
	 @RequestMapping(value=ApiConstant.TOOL_SERVICE_FILE_UPLOADIMAGE, method = RequestMethod.POST)
	 public ApiRestResponse<String> uploadImage(
	  		  @RequestParam(name="btImage") byte[] btImage,
	  		  @RequestParam(name="useType", defaultValue = "") String useType,
	  		  @RequestParam(name="fileType", defaultValue = "") String fileType ); 
}